import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { HomePage } from './home';
import { IonicModule } from '@ionic/angular';
import { RouterModule } from '@angular/router';
import { SharedModule } from '../../shared/shared.module';
import { HomeRoutingModule } from './home-routing.module';

// 页面
import { RoomPage } from '@pages/home//room/room';
import { RoomLiftPage } from '@pages/home/room-lift/lift';
import { SystemPage } from '@pages/home/system/system';
import { DevicePage } from '@pages/device/device';
import { LiftPage } from '@pages/device/lift/lift';
import { FireDetailPage } from '@pages/device/fire/fire-detail/fire-detail';
import { FireKagePage } from '@pages/device/fire/fire-link/fire-link';
import { FireOthersPage } from '@pages/device/fire/fire-others/fire-others';
import { RoomFirePage } from '@pages/home/room-fire/fire';
import { KeyinspectionPage } from '@pages/home/keyinspection/page';
import { IotOperation } from '@pages/home/iot-operation/iot-operation';
import { ControllerPage } from '@pages/home/controller/page';
import { WashRoomPage } from '@pages/home/wash-room/wash-room';
import { DeviceControllerPage } from '@pages/home/controller/device-controller/page';

// 组件&模态框
import { AlarmTabComponentModule } from '@components/alarm-tab/alarm-tab.module';
import { TimeOptionComponentModule } from '@components/time-option/time-option.module';
import { NgxEchartsModule } from 'ngx-echarts';
import { SubTitleComponentModule } from '@components/sub-title/sub-title.module';
import { NavSwitchComponentModule } from '@components/nav-switch/nav-switch.module';
import { AlarmDealPageModule } from '../home/alarm-report/alarm-deal/alarm-deal.module';
import { AlarmCountPageModule } from '../home/alarm-report/alarm-count/alarm-count.module';
import { ParkPage } from '@pages/home/park/park';
import { RoomVideoModalModule } from '@modals/room-video/room-video.module';
import { KeyInspectionModalModule } from '@modals/key-inspection/key-inspection.module';
import { PromptAlarmModalModule } from '@components/prompt-alarm/prompt-alarm.module';
import { AlarmDetailPageModule } from '@components/alarm-detail/alarm-detail.module';
import { AlarmItemComponentModule } from '@components/alarm-item/alarm-item.module';
import { AlarmReportPageModule } from '@pages/home/alarm-report/alarm-report.module';
import { AlarmSolveComponentModule } from '@components/alarm-solve/alarm-solve.component.module';
import { NavTitleComponentModule } from '@components/nav-title/nav-title.module';
import { DeviceVideoModalModule } from '@modals/device-video/device-video.module';


@NgModule({
    imports: [
        IonicModule,
        SharedModule,
        HomeRoutingModule,
        SubTitleComponentModule,
        TimeOptionComponentModule,
        NgxEchartsModule,
        AlarmDealPageModule,
        AlarmCountPageModule,
        AlarmTabComponentModule,
        NavSwitchComponentModule,
        RoomVideoModalModule,
        KeyInspectionModalModule,
        PromptAlarmModalModule,
        AlarmDetailPageModule,
        AlarmItemComponentModule,
        AlarmReportPageModule,
        NavTitleComponentModule,
        AlarmSolveComponentModule,
        DeviceVideoModalModule
    ],
    schemas: [CUSTOM_ELEMENTS_SCHEMA],
    declarations: [HomePage, RoomPage, SystemPage, DevicePage, LiftPage, FireDetailPage, FireKagePage, FireOthersPage
        , RoomFirePage, RoomLiftPage, ParkPage, KeyinspectionPage, IotOperation, ControllerPage, DeviceControllerPage, WashRoomPage],
})
export class HomePageModule { }
